// 
const {DataTypes, db } = require("../db");
db.define('vSrCat', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId:{type: DataTypes.INTEGER,allowNull:false,comment:''}, 
code:{type: DataTypes.STRING(30),comment:''}, 
name:{type: DataTypes.STRING(50),allowNull:false,comment:''}, 
pinYin:{type: DataTypes.STRING(255),comment:''}, 

}, {
    tableName: 'v_sr_cat',
    timestamps: false,
    comment: ''
});